package com.zwx.bingo.data.batis.event;

import com.zwx.bingo.stateful.body.StatefulBody;
import org.springframework.context.ApplicationEvent;

/**
 * @author zoo
 */
public class BeforQueryEvent extends ApplicationEvent {

    private StatefulBody body;

    public BeforQueryEvent(Object source, StatefulBody body) {
        super(source);
        this.body = body;
    }

    public BeforQueryEvent(Object source) {
        super(source);
    }

    public StatefulBody getBody() {
        return body;
    }
}